<template >
  <van-nav-bar
    left-text="返回"
    left-arrow
    @click-left="onClickLeft"
  />
</template>

<script>

import { Toast } from 'vant'
export default {
  methods: {
    onClickLeft () {
      Toast('返回')
      this.$router.go(-1)
    }

  }
}
</script>

<style lang="less" scoped>
/deep/.van-nav-bar__text{
  color: red;
}
</style>
